package com.knowif.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * offer，面经评论表
 * 
 * @author wcyong
 * 
 * @date 2020-06-14
 */
public class OfferInterviewComment {
    private Integer id;

    /**
     * 评论人id
     */
    private Integer commentatorId;

    /**
     * 评论人名称
     */
    private String commentatorName;

    /**
     * 回复id
     */
    private Integer parentId;

    /**
     * 被评论人id
     */
    private Integer beCommentatorId;

    /**
     * 被评论人名称
     */
    private String beCommentatorName;

    /**
     * 评论时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date commentTime;

    /**
     * 评论内容
     */
    private String comments;

    /**
     * 评论帖子类型1offer2面经
     */
    private Integer commentType;

    /**
     * offer面经id
     */
    private Integer offerInterviewId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCommentatorId() {
        return commentatorId;
    }

    public void setCommentatorId(Integer commentatorId) {
        this.commentatorId = commentatorId;
    }

    public String getCommentatorName() {
        return commentatorName;
    }

    public void setCommentatorName(String commentatorName) {
        this.commentatorName = commentatorName == null ? null : commentatorName.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getBeCommentatorId() {
        return beCommentatorId;
    }

    public void setBeCommentatorId(Integer beCommentatorId) {
        this.beCommentatorId = beCommentatorId;
    }

    public String getBeCommentatorName() {
        return beCommentatorName;
    }

    public void setBeCommentatorName(String beCommentatorName) {
        this.beCommentatorName = beCommentatorName == null ? null : beCommentatorName.trim();
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments == null ? null : comments.trim();
    }

    public Integer getCommentType() {
        return commentType;
    }

    public void setCommentType(Integer commentType) {
        this.commentType = commentType;
    }

    public Integer getOfferInterviewId() {
        return offerInterviewId;
    }

    public void setOfferInterviewId(Integer offerInterviewId) {
        this.offerInterviewId = offerInterviewId;
    }
}